package com.lss.cloud.apis;

import com.lss.cloud.Resp.ResultData;
import com.lss.cloud.Resp.ReturnCodeEnum;
import org.springframework.stereotype.Component;

/**
 * 2024/3/21-20:50
 * 功能:
 */
@Component
public class PayFeignSentinelApiFallBack implements PayFeignSentinelApi {
    @Override
    public ResultData getPayByOrderNo(String orderNo) {

        return ResultData.failed(ReturnCodeEnum.RC500.getCode(),"对方服务宕机或不可用，FallBack服务降级o(╥﹏╥)o");

    }
}
